/*
 * @Author: wenhui wenhui@wenhuiweb.cn
 * @Date: 2024-08-26
 * @Description: 状态管理
 */
import { createStore } from 'vuex';

import home from './modules/home';
import shop from './modules/shop';
import user from './modules/user';
import order from './modules/order';
import manager from './modules/manager';
import setting from './modules/setting';
import distribution from './modules/distribution';
import other from './modules/other';


// 创建一个新的 store 实例
const store = createStore({
  modules: {
    home,
    shop,
    user,
    order,
    manager,
    setting,
    distribution,
    other
  }
});


export default store;